﻿using aspNetCURD.Models;
using System.Collections;
using System.Collections.Generic;

namespace aspNetCURD.Services
{
    public interface ICourseRepository
    {
        IEnumerable<course> GetCourses(string keyword, int pageIndex, int pageSize);
        course GetCourse(string cno);
        int GetCourseCount(string keyword);
        void AddCourse(course courseMod);
        bool Sava();
    }
}
